﻿@semy = 0.25
@third = @[1/3]
@fifth = @[1/5]
@sixth = @[1/6]

@canton_scale_cross_x = @[ ( 333 / 768 ) + 0.001 ]
@canton_scale_cross_y = @[ ( 205 / 512 ) + 0.001 ]

@canton_scale_sweden_x = @[ ( 255 / 768 ) + 0.001 ]
@canton_scale_sweden_y = @[ ( 204 / 512 ) + 0.001 ]

@uru_canton_height = 0.556
@NZL_coa_offset = @[3/16] 
@sm_fra = 0.16

@pi = 3.1416

## Byzantium ##

Greece_Byzantium_alt_WB_portrait = {
	textured_emblem = {
		texture = "wb_gre_monarch_alt.dds"
		instance = { scale = { 1.52 1.52 } position = { 0.48 0.69 } }
	}
}

BYZ = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_letter_beta.dds"
		color1 = color2
		color2 = color2
		
        instance = { position = { @[canton_scale_cross_x/2] @[canton_scale_cross_y/2] } scale = { @[-1/5*2] @[1/5*2] } } # top left
        instance = { position = { @[1-(canton_scale_cross_x/2)] @[canton_scale_cross_y/2] } scale = { @[1/5*2] @[1/5*2] } } # top right
        instance = { position = { @[canton_scale_cross_x/2] @[1-(canton_scale_cross_y/2)] } scale = { @[-1/5*2] @[1/5*2] } } # bottom left
        instance = { position = { @[1-(canton_scale_cross_x/2)] @[1-(canton_scale_cross_y/2)] } scale = { @[1/5*2] @[1/5*2] } } # bottom right
	}
	
	sub = {
        parent = "Greece_Byzantium_alt_WB_portrait" 
    }
}

# WB originals

BYZ_subject = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_letter_beta.dds"
		color1 = color2
		color2 = color2
		
        instance = { position = { @[canton_scale_cross_x/2] @[canton_scale_cross_y/2] } scale = { @[-1/5*2] @[1/5*2] } } # top left
        instance = { position = { @[1-(canton_scale_cross_x/2)] @[canton_scale_cross_y/2] } scale = { @[1/5*2] @[1/5*2] } } # top right
        instance = { position = { @[canton_scale_cross_x/2] @[1-(canton_scale_cross_y/2)] } scale = { @[-1/5*2] @[1/5*2] } } # bottom left
        instance = { position = { @[1-(canton_scale_cross_x/2)] @[1-(canton_scale_cross_y/2)] } scale = { @[1/5*2] @[1/5*2] } } # bottom right
	}
	
	textured_emblem = {
		texture = "wb_gre_monarch_alt.dds"
		instance = { scale = { 1.52 1.52 } position = { 0.68 0.69 } }
	}
}

BYZ_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 102 2 60 }
	color2 = "yellow"

	colored_emblem = {
		texture = "wb_ce_orthodox_eagle.dds"
		color1 = color2
		color2 = color2
		
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_shield_heater_border.dds"
		color1 = color1
		color2 = color2
		
		instance = { scale = { 0.4 0.4 } position = { 0.5 0.57 } }
	}
	
	colored_emblem = {
		texture = "ce_chi_rho.dds"
		color1 = color2
		color2 = color2
		
		instance = { scale = { 0.3 0.3 } position = { 0.5 0.57 } }
	}
	
	sub = {
        parent = "Greece_Byzantium_alt_WB_portrait" 
    }
}

sub_BYZ_square = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_letter_beta.dds"
		color1 = color2
		color2 = color2
		
        instance = { position = { @[canton_scale_cross_x/2] @[canton_scale_cross_y/2] } scale = { @[-1/5*2] @[1/5*2] } } # top left
        instance = { position = { @[1-(canton_scale_cross_x/2)] @[canton_scale_cross_y/2] } scale = { @[1/5*2] @[1/5*2] } } # top right
        instance = { position = { @[canton_scale_cross_x/2] @[1-(canton_scale_cross_y/2)] } scale = { @[-1/5*2] @[1/5*2] } } # bottom left
        instance = { position = { @[1-(canton_scale_cross_x/2)] @[1-(canton_scale_cross_y/2)] } scale = { @[1/5*2] @[1/5*2] } } # bottom right
	}
}

sub_BYZ_square_2 = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
}

BYZ_republic = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "white"

	sub = {
        parent = "sub_BYZ_square_2" 
        instance = { scale = { 0.5 0.5 } offset = { 0.0 0.0 } } # top left
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.5 } } # bottom right
    } 
	
	sub = {
        parent = "sub_BYZ_square" 
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.0 } } # top right
		instance = { scale = { 0.5 0.5 } offset = { 0.0 0.5 } } # bottom left
    }
	
	sub = {
        parent = "Greece_republican_WB_portrait" 
    }
}

BYZ_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "white"

	colored_emblem = {
		texture = "ce_epieagle.dds"
		color1 = color2
		color2 = color2
		
		instance = { scale = { 1.1 1.1 } position = { 0.5 0.55 } }
	}
	
	colored_emblem = {
		texture = "ce_crown_oudh.dds"
		color1 = color2
		color2 = color2
		
		instance = { scale = { 0.2 0.2 } position = { 0.5 0.17 } }
	}
	
	colored_emblem = {
		texture = "ce_chi_rho.dds"
		color1 = color1
		color2 = color1
		
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.55 } }
	}
	
	sub = {
        parent = "Greece_fascist_WB_portrait" 
    }
}

BYZ_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = color2
		color2 = color2
		
        instance = { position = { @[canton_scale_cross_x/2] @[canton_scale_cross_y/2] } scale = { 0.3 0.3 } } # top left
        instance = { position = { @[1-(canton_scale_cross_x/2)] @[canton_scale_cross_y/2] } scale = { 0.3 0.3 } } # top right
        instance = { position = { @[canton_scale_cross_x/2] @[1-(canton_scale_cross_y/2)] } scale = { 0.3 0.3 } } # bottom left
        instance = { position = { @[1-(canton_scale_cross_x/2)] @[1-(canton_scale_cross_y/2)] } scale = {0.3 0.3 } } # bottom right
	}
	
	sub = {
        parent = "Greece_communist_WB_portrait" 
    }
}

BYZ_anarchist = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"

	colored_emblem = {
		texture = "ce_epieagle.dds"
		color1 = color2
		color2 = color2
		
		instance = { scale = { 1.1 1.1 } position = { 0.5 0.57 } }
	}
	
	colored_emblem = {
		texture = "ce_star_05_circle.dds"
		color1 = color1
		color2 = color2
		
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.57 } }
	}

	sub = {
        parent = "Greece_communist_WB_portrait" 
    }
}

# Greece Byzantium

sub_BYZ_GRE_square = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 76 152 }
	color2 = "white"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_letter_beta.dds"
		color1 = color2
		color2 = color2
		
        instance = { position = { @[canton_scale_cross_x/2] @[canton_scale_cross_y/2] } scale = { @[-1/5*2] @[1/5*2] } } # top left
        instance = { position = { @[1-(canton_scale_cross_x/2)] @[canton_scale_cross_y/2] } scale = { @[1/5*2] @[1/5*2] } } # top right
        instance = { position = { @[canton_scale_cross_x/2] @[1-(canton_scale_cross_y/2)] } scale = { @[-1/5*2] @[1/5*2] } } # bottom left
        instance = { position = { @[1-(canton_scale_cross_x/2)] @[1-(canton_scale_cross_y/2)] } scale = { @[1/5*2] @[1/5*2] } } # bottom right
	}
}

sub_BYZ_GRE_square_junta = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_letter_beta.dds"
		color1 = color2
		color2 = color2
		
        instance = { position = { @[canton_scale_cross_x/2] @[canton_scale_cross_y/2] } scale = { @[-1/5*2] @[1/5*2] } } # top left
        instance = { position = { @[1-(canton_scale_cross_x/2)] @[canton_scale_cross_y/2] } scale = { @[1/5*2] @[1/5*2] } } # top right
        instance = { position = { @[canton_scale_cross_x/2] @[1-(canton_scale_cross_y/2)] } scale = { @[-1/5*2] @[1/5*2] } } # bottom left
        instance = { position = { @[1-(canton_scale_cross_x/2)] @[1-(canton_scale_cross_y/2)] } scale = { @[1/5*2] @[1/5*2] } } # bottom right
	}
}

BYZ_GRE_republic = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = rgb { 0 76 152 }

	colored_emblem = {
		texture = "ce_stripes_9.dds"
		color1 = color2
		color2 = color2
	}
	
    sub = {
        parent = "sub_BYZ_GRE_square" 
		instance = { scale = { @[1/9*5/1.5] @[1/9*5] } }			
    }	
	
	sub = {
        parent = "Greece_republican_WB_portrait" 
    }
}

BYZ_GRE_junta = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "blue"

	colored_emblem = {
		texture = "ce_stripes_9.dds"
		color1 = color2
		color2 = color2
	}
	
    sub = {
        parent = "sub_BYZ_GRE_square_junta" 
		instance = { scale = { @[1/9*5/1.5] @[1/9*5] } }			
    }	
	
	sub = {
        parent = "Greece_fascist_WB_portrait" 
    }
}

# Ionian Islands Byzantium

Corfu_WB_BYZ_portrait = {
	textured_emblem = {
		texture = "wb_ion_byz.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.39 0.64 } }
	}
}

sub_ION_sqaure = {
	# Septinsular Republic
	
	pattern = "pattern_border_of_4.dds"
	color1 = "blue"
	color2 = "red"
	
	colored_emblem = {
		texture = "ce_lion_corfu.dds"
		color1 = "yellow"
		color2 = "white"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }	
	}
}

BYZ_ION = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_letter_beta.dds"
		color1 = color2
		color2 = color2
		
        instance = { position = { @[canton_scale_cross_x/2] @[canton_scale_cross_y/2] } scale = { @[-1/5*2] @[1/5*2] } } # top left
        instance = { position = { @[1-(canton_scale_cross_x/2)] @[canton_scale_cross_y/2] } scale = { @[1/5*2] @[1/5*2] } } # top right
        instance = { position = { @[canton_scale_cross_x/2] @[1-(canton_scale_cross_y/2)] } scale = { @[-1/5*2] @[1/5*2] } } # bottom left
        instance = { position = { @[1-(canton_scale_cross_x/2)] @[1-(canton_scale_cross_y/2)] } scale = { @[1/5*2] @[1/5*2] } } # bottom right
	}
	
	sub = {
        parent = "sub_ION_sqaure" 
        instance = { scale = { 0.435 0.4 } offset = { 0.0 0.0 } } # top left
    }
	
	sub = {
        parent = "Corfu_WB_BYZ_portrait" 
    }
}

BYZ_ION_republic = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "white"

	sub = {
        parent = "sub_ION_sqaure" 
        instance = { scale = { 0.5 0.5 } offset = { 0.0 0.0 } } # top left
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.5 } } # bottom right
    } 
	
	sub = {
        parent = "sub_BYZ_square" 
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.0 } } # top right
		instance = { scale = { 0.5 0.5 } offset = { 0.0 0.5 } } # bottom left
    }
	
	sub = {
        parent = "Corfu_WB_BYZ_portrait" 
    }
}

BYZ_ION_subject = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_letter_beta.dds"
		color1 = color2
		color2 = color2
		
        instance = { position = { @[canton_scale_cross_x/2] @[canton_scale_cross_y/2] } scale = { @[-1/5*2] @[1/5*2] } } # top left
        instance = { position = { @[1-(canton_scale_cross_x/2)] @[canton_scale_cross_y/2] } scale = { @[1/5*2] @[1/5*2] } } # top right
        instance = { position = { @[canton_scale_cross_x/2] @[1-(canton_scale_cross_y/2)] } scale = { @[-1/5*2] @[1/5*2] } } # bottom left
        instance = { position = { @[1-(canton_scale_cross_x/2)] @[1-(canton_scale_cross_y/2)] } scale = { @[1/5*2] @[1/5*2] } } # bottom right
	}
	
	textured_emblem = {
		texture = "wb_ion_byz.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.47 0.64 } }
	}
}

BYZ_ION_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 102 2 60 }
	color2 = "yellow"

	colored_emblem = {
		texture = "wb_ce_orthodox_eagle.dds"
		color1 = color2
		color2 = color2
		
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_shield_heater_border.dds"
		color1 = color1
		color2 = color2
		
		instance = { scale = { 0.4 0.4 } position = { 0.5 0.57 } }
	}
	
	colored_emblem = {
		texture = "ce_chi_rho.dds"
		color1 = color2
		color2 = color2
		
		instance = { scale = { 0.3 0.3 } position = { 0.5 0.57 } }
	}
	
	sub = {
        parent = "Corfu_WB_BYZ_portrait" 
    }
}

BYZ_ION_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "white"

	colored_emblem = {
		texture = "ce_epieagle.dds"
		color1 = color2
		color2 = color2
		
		instance = { scale = { 1.1 1.1 } position = { 0.5 0.55 } }
	}
	
	colored_emblem = {
		texture = "ce_crown_oudh.dds"
		color1 = color2
		color2 = color2
		
		instance = { scale = { 0.2 0.2 } position = { 0.5 0.17 } }
	}
	
	colored_emblem = {
		texture = "ce_chi_rho.dds"
		color1 = color1
		color2 = color1
		
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.55 } }
	}
	
	sub = {
        parent = "Corfu_WB_fascist_portrait" 
    }
}

BYZ_ION_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = color2
		color2 = color2
		
        instance = { position = { @[canton_scale_cross_x/2] @[canton_scale_cross_y/2] } scale = { 0.3 0.3 } } # top left
        instance = { position = { @[1-(canton_scale_cross_x/2)] @[canton_scale_cross_y/2] } scale = { 0.3 0.3 } } # top right
        instance = { position = { @[canton_scale_cross_x/2] @[1-(canton_scale_cross_y/2)] } scale = { 0.3 0.3 } } # bottom left
        instance = { position = { @[1-(canton_scale_cross_x/2)] @[1-(canton_scale_cross_y/2)] } scale = {0.3 0.3 } } # bottom right
	}
	
	sub = {
        parent = "Corfu_WB_communist_portrait" 
    }
}

BYZ_ION_anarchist = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"

	colored_emblem = {
		texture = "ce_epieagle.dds"
		color1 = color2
		color2 = color2
		
		instance = { scale = { 1.1 1.1 } position = { 0.5 0.57 } }
	}
	
	colored_emblem = {
		texture = "ce_star_05_circle.dds"
		color1 = color1
		color2 = color2
		
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.57 } }
	}

	sub = {
        parent = "Corfu_WB_communist_portrait" 
    }
}

BYZ_ION_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "black"

	colored_emblem = {
		texture = "wb_ce_orthodox_eagle.dds"
		color1 = color2
		color2 = color2
		
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Corfu_WB_BYZ_portrait" 
    }
}

# Cyprus Byzantium

sub_CYP_sqaure = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 76 152 }
	color2 = "white"

	colored_emblem = {
		texture = "ce_cross_cotised.dds"
		color1 = "white"
		color2 = "yellow"
		instance = { position = { 0.5 0.5 } scale = { 1.0 1.0 } }
	}
}

BYZ_CYP = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_letter_beta.dds"
		color1 = color2
		color2 = color2
		
        instance = { position = { @[canton_scale_cross_x/2] @[canton_scale_cross_y/2] } scale = { @[-1/5*2] @[1/5*2] } } # top left
        instance = { position = { @[1-(canton_scale_cross_x/2)] @[canton_scale_cross_y/2] } scale = { @[1/5*2] @[1/5*2] } } # top right
        instance = { position = { @[canton_scale_cross_x/2] @[1-(canton_scale_cross_y/2)] } scale = { @[-1/5*2] @[1/5*2] } } # bottom left
        instance = { position = { @[1-(canton_scale_cross_x/2)] @[1-(canton_scale_cross_y/2)] } scale = { @[1/5*2] @[1/5*2] } } # bottom right
	}
	
	sub = {
        parent = "sub_CYP_sqaure" 
        instance = { scale = { 0.435 0.4 } offset = { 0.0 0.0 } } # top left
    }
	
	sub = {
        parent = "Greece_Byzantium_alt_WB_portrait" 
    }
}

BYZ_CYP_republic = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "white"

	sub = {
        parent = "sub_CYP_sqaure" 
        instance = { scale = { 0.5 0.5 } offset = { 0.0 0.0 } } # top left
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.5 } } # bottom right
    } 
	
	sub = {
        parent = "sub_BYZ_square" 
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.0 } } # top right
		instance = { scale = { 0.5 0.5 } offset = { 0.0 0.5 } } # bottom left
    }
	
	sub = {
        parent = "Greece_republican_WB_portrait" 
    }
}

# Crete Byzantium

sub_CRE_sqaure = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.25 } }		
	}
	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = "white"
		color2 = "white"
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { position = { 0.21 0.21 } scale = { 0.4 0.4 } }
	}
}

BYZ_CRE = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_letter_beta.dds"
		color1 = color2
		color2 = color2
		
        instance = { position = { @[canton_scale_cross_x/2] @[canton_scale_cross_y/2] } scale = { @[-1/5*2] @[1/5*2] } } # top left
        instance = { position = { @[1-(canton_scale_cross_x/2)] @[canton_scale_cross_y/2] } scale = { @[1/5*2] @[1/5*2] } } # top right
        instance = { position = { @[canton_scale_cross_x/2] @[1-(canton_scale_cross_y/2)] } scale = { @[-1/5*2] @[1/5*2] } } # bottom left
        instance = { position = { @[1-(canton_scale_cross_x/2)] @[1-(canton_scale_cross_y/2)] } scale = { @[1/5*2] @[1/5*2] } } # bottom right
	}
	
	sub = {
        parent = "sub_CRE_sqaure" 
        instance = { scale = { 0.435 0.4 } offset = { 0.0 0.0 } } # top left
    }
	
	sub = {
        parent = "Greece_Byzantium_alt_WB_portrait" 
    }
}

BYZ_CRE_republic = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "white"

	sub = {
        parent = "sub_CRE_sqaure" 
        instance = { scale = { 0.5 0.5 } offset = { 0.0 0.0 } } # top left
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.5 } } # bottom right
    } 
	
	sub = {
        parent = "sub_BYZ_square" 
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.0 } } # top right
		instance = { scale = { 0.5 0.5 } offset = { 0.0 0.5 } } # bottom left
    }
	
	sub = {
        parent = "Greece_republican_WB_portrait" 
    }
}

## Danubian State ##

KUK = {		
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "red"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
}

KUK_republic = {		
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_fimbriated_thin.dds"
		color1 = color2
		color2 = "blue"
		color3 = color3
	}
	
}

KUK_dictatorship = {		
	# when the Danube federates or something I dunno I don't play Kaiserreich
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_rhombus.dds"
		color1 = color2
	}
	
	colored_emblem = {
		texture = "ce_eagle_albania.dds"
		color1 = color1
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.51 } }
	}
	
}

KUK_communist = {		
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "red"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_sun_bg.dds"
		color1 = "blue_light"
		color2 = "yellow"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.46 } }
	}
	
	colored_emblem = {
		texture = "ce_hammer_sickle_india.dds"
		color1 = "yellow"
		color2 = "white"
		instance = { scale = { 0.3 0.3 } position = { 0.5 0.52 } }
	}
	
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow"
		color2 = "white"
		color3 = "green"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "blue"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_frame_star.dds"
		color1 = "red"
		color2 = "yellow"
		instance = { scale = { 0.2 0.2 } position = { 0.5 0.32 } }
	}
}

KUK_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_star_05_safcp.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }				
	}

}

# Austria Danubia

KUK_AUS = { # Based off Vic2's HPM mod
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_rhombus.dds"
		color1 = color2
	}
	
	colored_emblem = {
		texture = "ce_eagle_albania.dds"
		color1 = color1
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.51 } }
	}
	
	sub = {
        parent = "Germany_Austria_Hungary_WB_portrait" 
    }
}

KUK_AUS_republic = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color1
	}
	
	sub = {
        parent = "Austria_Hungary_WB_republican_portrait" 
    }
}

KUK_AUS_dictatorship = { 
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_rhombus.dds"
		color1 = color2
	}
	
	colored_emblem = {
		texture = "ce_eagle_albania.dds"
		color1 = color1
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.51 } }
	}
	
	sub = {
        parent = "Austria_Hungary_WB_fascist_portrait" 
    }
}

KUK_AUS_communist = { # Based off Vic2's HPM mod
	pattern = "pattern_vertical_split_01.tga"
	color1 = "red"
	color2 = "red"
	color3 = "white"
	color4 = "green"
	
	colored_emblem = {
		texture = "ce_star_13.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "red"
		instance = { position = { 0.5 0.5 } scale = { 0.7 0.7 }  } 
	}
	
	colored_emblem = {
		texture = "ce_mining_hammers.dds"
		color1 = "red"
		color2 = "yellow"
		instance = { position = { 0.5 0.52 } scale = { 0.3 0.3 }  } 
	}
	
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow"
		color2 = "blue"
		color3 = "red"
		instance = { position = { 0.5 0.5 }scale = { 0.9 0.9 } } 
	}
	
	colored_emblem = {
		texture = "ce_star_05_hollow.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { position = { 0.5 0.2 } scale = { 0.3 0.3 }  } 
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "red"
		color2 = "white"
		color3 = "red"
		instance = { position = { 0.5 0.5 }scale = { 0.9 0.9 } } 
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "red"
		color2 = "white"
		color3 = "green"
		instance = { position = { 0.5 0.5 }scale = { 0.9 0.9 } } 
		mask = { 2 }
	}
	
	sub = {
        parent = "Austria_Hungary_WB_communist_portrait" 
    }
}

# Hungary Danubia

KUK_HUN = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "red"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Hungary_WB_portrait" 
    }
}

KUK_HUN_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_stripes_07.dds"
		color1 = "red"
		color2 = "green"
	}
	
	colored_emblem = {
		texture = "ce_lion_passant_guardant_long.dds"
		color1 = "yellow"
		color2 = "yellow"
		color2 = "yellow"
		
		instance = { scale = { 0.3 0.3 } position = { 0.5 0.07 } }
		instance = { scale = { 0.3 0.3 } position = { 0.2 0.07 } }
		instance = { scale = { 0.3 0.3 } position = { 0.8 0.07 } }
		
		instance = { scale = { 0.3 0.3 } position = { 0.5 0.35 } }
		instance = { scale = { 0.3 0.3 } position = { 0.2 0.35 } }
		instance = { scale = { 0.3 0.3 } position = { 0.8 0.35 } }
		
		instance = { scale = { 0.3 0.3 } position = { 0.5 0.65 } }
		instance = { scale = { 0.3 0.3 } position = { 0.2 0.65 } }
		instance = { scale = { 0.3 0.3 } position = { 0.8 0.65 } }
		
		instance = { scale = { 0.3 0.3 } position = { 0.5 0.93 } }
	}
	
	sub = {
        parent = "Hungary_WB_portrait" 
    }
}


KUK_HUN_republic = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_fimbriated_thin.dds"
		color1 = color2
		color2 = "blue"
		color3 = color3
	}
	
	sub = {
        parent = "Hungary_republican_WB_portrait" 
    }
}
KUK_HUN_dictatorship = {		
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_rhombus.dds"
		color1 = color2
	}
	
	colored_emblem = {
		texture = "ce_eagle_albania.dds"
		color1 = color1
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.51 } }
	}
	
	sub = {
        parent = "Hungary_fascist_WB_portrait" 
    }
}
KUK_HUN_communist = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "red"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_sun_bg.dds"
		color1 = "blue_light"
		color2 = "yellow"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.46 } }
	}
	
	colored_emblem = {
		texture = "ce_hammer_sickle_india.dds"
		color1 = "yellow"
		color2 = "white"
		instance = { scale = { 0.3 0.3 } position = { 0.5 0.52 } }
	}
	
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow"
		color2 = "white"
		color3 = "green"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "blue"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_frame_star.dds"
		color1 = "red"
		color2 = "yellow"
		instance = { scale = { 0.2 0.2 } position = { 0.5 0.32 } }
	}
	
	sub = {
        parent = "Hungary_communist_WB_portrait" 
    }
}

KUK_HUN_flag_hole_republic = {		
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "red"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	colored_emblem = {
		texture = "wb_ce_hole_in_the_flag.dds"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }	
		color1 = "black"
		color2 = "black"	
		color3 = "highlight"		
	}
	
	sub = {
        parent = "Hungary_republican_WB_portrait" 
    }
}

KUK_HUN_flag_hole_monarchy = {		
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "red"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	colored_emblem = {
		texture = "wb_ce_hole_in_the_flag.dds"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }	
		color1 = "black"
		color2 = "black"	
		color3 = "highlight"		
	}
	
	sub = {
        parent = "Hungary_WB_portrait" 
    }
}

# Romania Danubia

KUK_ROM = {		
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Romania_WB_portrait" 
    }
}

KUK_ROM_republic = {		
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_fimbriated_thin.dds"
		color1 = color2
		color2 = "blue"
		color3 = color3
	}
	
	sub = {
        parent = "Romania_WB_republican_portrait" 
    }
}

KUK_ROM_dictatorship = {		
	# when the Danube federates or something I dunno I don't play Kaiserreich
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_rhombus.dds"
		color1 = color2
	}
	
	colored_emblem = {
		texture = "ce_eagle_albania.dds"
		color1 = color1
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.51 } }
	}
	
	sub = {
        parent = "Romania_WB_fascist_portrait" 
    }
}

KUK_ROM_communist = {		
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "red"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_sun_bg.dds"
		color1 = "blue_light"
		color2 = "yellow"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.46 } }
	}
	
	colored_emblem = {
		texture = "ce_hammer_sickle_india.dds"
		color1 = "yellow"
		color2 = "white"
		instance = { scale = { 0.3 0.3 } position = { 0.5 0.52 } }
	}
	
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow"
		color2 = "white"
		color3 = "green"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "blue"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_frame_star.dds"
		color1 = "red"
		color2 = "yellow"
		instance = { scale = { 0.2 0.2 } position = { 0.5 0.32 } }
	}
	
	sub = {
        parent = "Romania_WB_communist_portrait" 
    }
}

KUK_ROM_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_star_05_safcp.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }				
	}
	
	sub = {
        parent = "Romania_WB_communist_portrait" 
    }
}

KUK_ROM_flag_hole_republic = {		
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "red"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	colored_emblem = {
		texture = "wb_ce_hole_in_the_flag.dds"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }	
		color1 = "black"
		color2 = "black"	
		color3 = "highlight"		
	}
	
	sub = {
        parent = "Romania_WB_republican_portrait" 
    }
}

KUK_ROM_flag_hole_monarchy = {		
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "red"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	colored_emblem = {
		texture = "wb_ce_hole_in_the_flag.dds"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }	
		color1 = "black"
		color2 = "black"	
		color3 = "highlight"		
	}
	
	sub = {
        parent = "Romania_WB_portrait" 
    }
}

# Moldavia Danubia

KUK_MOL = {		
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	textured_emblem = {
		texture = "wb_moldova_coa.png"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Moldavia_Romania_WB_portrait" 
    }
}

KUK_MOL_absolute_monarchy = {
	# Based off the modern Moldovan military flag
	pattern = "pattern_solid.tga"
	color1 = rgb { 4 62 143 }
	color2 = "yellow"
	color3 = "red"

	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = color2
		color2 = color3
	}
	
	textured_emblem = {
		texture = "wb_moldova_coa.png"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Moldavia_Romania_WB_portrait" 
    }
}

KUK_MOL_republic = {		
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_fimbriated_thin.dds"
		color1 = color2
		color2 = "blue"
		color3 = color3
	}
	
	sub = {
        parent = "Moldavia_WB_civil_portrait" 
    }
}

KUK_MOL_republic_bessarabia = {		
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_fimbriated_thin.dds"
		color1 = color2
		color2 = rgb { 0 52 124 }
		color3 = color3
	}
	
	sub = {
        parent = "Moldavia_WB_civil_alt_portrait" 
    }
}

KUK_MOL_dictatorship = {		
	# when the Danube federates or something I dunno I don't play Kaiserreich
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "yellow"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_rhombus.dds"
		color1 = color2
	}
	
	colored_emblem = {
		texture = "ce_eagle_albania.dds"
		color1 = color1
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.51 } }
	}
	
	sub = {
        parent = "Moldavia_Romania_WB_alt_portrait" 
    }
}

KUK_MOL_communist = {		
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "red"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_sun_bg.dds"
		color1 = "blue_light"
		color2 = "yellow"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.46 } }
	}
	
	colored_emblem = {
		texture = "ce_hammer_sickle_india.dds"
		color1 = "yellow"
		color2 = "white"
		instance = { scale = { 0.3 0.3 } position = { 0.5 0.52 } }
	}
	
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow"
		color2 = "white"
		color3 = "green"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "blue"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_frame_star.dds"
		color1 = "red"
		color2 = "yellow"
		instance = { scale = { 0.2 0.2 } position = { 0.5 0.32 } }
	}
	
	sub = {
        parent = "Moldavia_WB_civil_alt_portrait" 
    }
}

KUK_MOL_flag_hole_republic = {		
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "red"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	colored_emblem = {
		texture = "wb_ce_hole_in_the_flag.dds"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }	
		color1 = "black"
		color2 = "black"	
		color3 = "highlight"		
	}
	
	sub = {
        parent = "Moldavia_WB_civil_portrait" 
    }
}

KUK_MOL_flag_hole_monarchy = {		
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "red"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	colored_emblem = {
		texture = "wb_ce_hole_in_the_flag.dds"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }	
		color1 = "black"
		color2 = "black"	
		color3 = "highlight"		
	}
	
	sub = {
        parent = "Moldavia_Romania_WB_portrait" 
    }
}

## Romania and Moldavia

KUK_ROM_together = {		
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Romania_romrom_and_molmol_WB_portrait" 
    }
}

KUK_ROM_together_MOL = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	
	textured_emblem = {
		texture = "wb_moldova_coa.png"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Romania_romrom_and_molmol_WB_portrait" 
    }
}

KUK_ROM_together_MOL_abs_monarchy = {
	# Based off the modern Moldovan military flag
	pattern = "pattern_solid.tga"
	color1 = rgb { 4 62 143 }
	color2 = "yellow"
	color3 = "red"

	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = color2
		color2 = color3
	}
	
	textured_emblem = {
		texture = "wb_moldova_coa.png"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Romania_romrom_and_molmol_WB_portrait" 
    }
}


## Scandinavia ##

Scandinavia_WB_Sweden_portrait = {
	textured_emblem = {
		texture = "wb_sca_sweden.dds"
		instance = { scale = { 1.27 1.27 } position = { 0.595 0.435 } }
	}
}

Scandinavia_WB_Denmark_portrait = {
	textured_emblem = {
		texture = "wb_sca_denmark.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.45 0.53 }  }
	}
}

Scandinavia_WB_Norway_portrait = {
	textured_emblem = {
		texture = "wb_sca_norway.dds"
		instance = { scale = { 1.63 1.63 } position = { 0.54 0.75 } }
	}
}

SCA = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "red"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "blue"
		color2 = "blue"
	}

	colored_emblem = {
		texture = "ce_cross_denmark.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 1.6 1.6 } position = { 0.6 0.5 } }
	}

	colored_emblem = {
		texture = "ce_cross_denmark.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 1.4 1.4 } position = { 0.565 0.5 } }
	}
	colored_emblem = {
		texture = "ce_cross_denmark.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Scandinavia_WB_Sweden_portrait" 
    }
}

SCA_kalmar_union = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_cross_sweden.dds"
		color1 = red
		color2 = red
	}
	
	sub = {
        parent = "Scandinavia_WB_Denmark_portrait" 
    }
}

SCA_canton = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "red"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
}

# WB originals

SCA_communist = { 
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "yellow"
	color3 = "black"
	
	
	colored_emblem = {
		texture = "ce_tricolor_fimbriated_thin.dds"
		color1 = "blue"
		color2 = "yellow"
		color3 = "red"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 }  }	
	}		
	
	colored_emblem = {
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = "yellow"
		color2 = "blue"
		color3 = "red"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 }  }	
	}
	
	sub = {
        parent = "Sweden_WB_communist_portrait" 
    }
}

SCA_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_star_05_circle.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }				
	}
	
	sub = {
		parent = "Sweden_WB_communist_portrait" 
	}
}

SCA_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "red"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "blue"
		color2 = "blue"
	}

	colored_emblem = {
		texture = "ce_cross_denmark.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 1.6 1.6 } position = { 0.6 0.5 } }
	}

	colored_emblem = {
		texture = "ce_cross_denmark.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 1.4 1.4 } position = { 0.565 0.5 } }
	}
	colored_emblem = {
		texture = "ce_cross_denmark.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Sweden_WB_fascist_portrait" 
    }
}

# Denmark Scandinavia

SCA_communist_denmark = { 
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "yellow"
	color3 = "black"
	
	
	colored_emblem = {
		texture = "ce_tricolor_fimbriated_thin.dds"
		color1 = "blue"
		color2 = "yellow"
		color3 = "red"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 }  }	
	}		
	
	colored_emblem = {
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = "white"
		color2 = "red"
		color3 = "red"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 }  }	
	}
	
	sub = {
        parent = "Denmark_WB_communist_portrait" 
    }
}

SCA_anarchist_denmark = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_star_05_circle.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }				
	}
	
	sub = {
		parent = "Denmark_WB_communist_portrait" 
	}
}

SCA_dictatorship_denmark = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_cross_sweden.dds"
		color1 = red
		color2 = red
	}
	
	sub = {
        parent = "Denmark_WB_fascist_portrait" 
    }
}

# Norway Scandinavia

SCA_norway = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "red"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "blue"
		color2 = "blue"
	}

	colored_emblem = {
		texture = "ce_cross_denmark.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 1.6 1.6 } position = { 0.6 0.5 } }
	}

	colored_emblem = {
		texture = "ce_cross_denmark.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 1.4 1.4 } position = { 0.565 0.5 } }
	}
	colored_emblem = {
		texture = "ce_cross_denmark.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Scandinavia_WB_Norway_portrait" 
    }
}

SCA_communist_norway = { 
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "yellow"
	color3 = "black"
	
	
	colored_emblem = {
		texture = "ce_tricolor_fimbriated_thin.dds"
		color1 = "blue"
		color2 = "yellow"
		color3 = "red"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 }  }	
	}		
	
	colored_emblem = {
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = "blue"
		color2 = "red"
		color3 = "red"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 }  }	
	}
	
	colored_emblem = {
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = "white"
		color2 = "red"
		color3 = "red"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 }  }	
	}
	
	sub = {
        parent = "Norway_WB_communist_portrait" 
    }
}

SCA_anarchist_norway = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_star_05_circle.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }				
	}
	
	sub = {
		parent = "Norway_WB_communist_portrait" 
	}
}

SCA_dictatorship_norway = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "red"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "blue"
		color2 = "blue"
	}

	colored_emblem = {
		texture = "ce_cross_denmark.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 1.6 1.6 } position = { 0.6 0.5 } }
	}

	colored_emblem = {
		texture = "ce_cross_denmark.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 1.4 1.4 } position = { 0.565 0.5 } }
	}
	colored_emblem = {
		texture = "ce_cross_denmark.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Norway_WB_fascist_portrait" 
    }
}


## Iberia ##

IBE = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "white"
	# top right
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.25 } }
	}
	# bottom left
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.75 } }
	}
	# bottom right
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.75 } }
	}
	
	sub = {
        parent = "Spain_WB_portrait" 
    }
}

IBE_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"

	colored_emblem = {
		texture = "ce_per_saltire_counterchanged.dds"
		color1 = "blue"
		color2 = "yellow"
	}
	
	colored_emblem = {
		texture = "ce_cross_burgundy.dds"
		color1 = color2
		color2 = color2
	}
	
	sub = {
        parent = "Spain_WB_portrait" 
    }
}

IBE_republic = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "purple"
	
	colored_emblem = {
        texture = "ce_tricolor_horizontal.dds"
        color1 = "purple"
        color2 = "yellow"
        instance = { scale = { 1.0 0.75 } position = { 0.5 0.35 } }
    }

    colored_emblem = {
        texture = "ce_bicolor_bottom.dds"
        color1 = "green"
        instance = { scale = { 1.0 0.75 } position = { 0.5 0.72 } }
    }
	
	textured_emblem = {
		texture = "te_coa_spanish_republic.dds"
		instance = { position = { 0.35 0.48 }scale = { 0.65 0.65 } } 
	}
	
	textured_emblem = {
		texture = "te_coa_portuguese_republic.dds"
		instance = { position = { 0.72 0.51 } scale = { 0.55 0.55 } }
	}
	
	sub = {
        parent = "Spain_WB_republican_portrait" 
    }
}

IBE_communist = {
	pattern = "pattern_vertical_split_01.tga"
	color1 = "red"
	color2 = "red"
	
	colored_emblem = {
		texture = "ce_coa_roundel_austria.dds"
		color1 = "white"
		color2 = "yellow"
		color3 = "red"
		instance = { position = { 0.5 0.45 } scale = { 0.7 0.7 }  } 
	}
	
	colored_emblem = {
		texture = "ce_armillary_sphere.dds"
		color1 = "yellow"
		color2 = "white"
		instance = { position = { 0.5 0.53 } scale = { 0.4 0.4 }  } 
	}
	
	colored_emblem = {
		texture = "ce_hammer_sickle_italy.dds"
		color1 = "red"
		color2 = "white"
		instance = { position = { 0.5 0.53 } scale = { 0.3 0.3 }  } 
	}
	
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow"
		color2 = "blue"
		color3 = "red"
		instance = { position = { 0.5 0.5 }scale = { 0.8 0.8 } } 
	}
	
	colored_emblem = {
		texture = "ce_star_05_hollow.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { position = { 0.5 0.25 } scale = { 0.45 0.4 }  } 
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "red"
		color2 = "yellow"
		color3 = "purple"
		instance = { position = { 0.5 0.5 }scale = { 0.8 0.8 } } 
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_bicolour.dds"
		color1 = "green"
		color2 = "red"
		instance = { position = { 0.5 0.5 }scale = { 0.8 0.8 } } 
		mask = { 1 }
	}
	
	sub = {
        parent = "Spain_WB_communist_portrait" 
    }
}

IBE_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"

	colored_emblem = {
		texture = "ce_per_saltire_counterchanged.dds"
		color1 = "blue"
		color2 = "yellow"
	}
	
	colored_emblem = {
		texture = "ce_cross_burgundy.dds"
		color1 = color2
		color2 = color2
	}
	
	sub = {
        parent = "Spain_WB_fascist_portrait" 
    }
}

IBE_anarchist = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "purple"
	
	colored_emblem = {
		texture = "ce_anb_globe_grid.dds"
		color1 = color1
		color2 = color2
		instance = { scale = { 0.8 0.8 } } 
	}
	
	sub = {
        parent = "Spain_WB_communist_portrait" 
    }
}

# Portugal Iberia

IBE_POR = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "white"
	# top right
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.25 } }
	}
	# bottom left
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.75 } }
	}
	# bottom right
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.75 } }
	}
	
	textured_emblem = {
		texture = "wb_por_monarch.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.5 0.6 } }
	}
}

IBE_absolute_monarchy_POR = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"

	colored_emblem = {
		texture = "ce_per_saltire_counterchanged.dds"
		color1 = "blue"
		color2 = "yellow"
	}
	
	colored_emblem = {
		texture = "ce_cross_burgundy.dds"
		color1 = color2
		color2 = color2
	}
	
	textured_emblem = {
		texture = "wb_por_monarch.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.5 0.6 } }
	}
}

IBE_republic_POR = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "purple"
	
	colored_emblem = {
        texture = "ce_tricolor_horizontal.dds"
        color1 = "purple"
        color2 = "yellow"
        instance = { scale = { 1.0 0.75 } position = { 0.5 0.35 } }
    }

    colored_emblem = {
        texture = "ce_bicolor_bottom.dds"
        color1 = "green"
        instance = { scale = { 1.0 0.75 } position = { 0.5 0.72 } }
    }
	
	textured_emblem = {
		texture = "te_coa_spanish_republic.dds"
		instance = { position = { 0.35 0.48 }scale = { 0.65 0.65 } } 
	}
	
	textured_emblem = {
		texture = "te_coa_portuguese_republic.dds"
		instance = { position = { 0.72 0.51 } scale = { 0.55 0.55 } }
	}
	
	sub = {
        parent = "Portugal_WB_republican_portrait" 
    }
}

IBE_communist_POR = {
	pattern = "pattern_vertical_split_01.tga"
	color1 = "red"
	color2 = "red"
	
	colored_emblem = {
		texture = "ce_coa_roundel_austria.dds"
		color1 = "white"
		color2 = "yellow"
		color3 = "red"
		instance = { position = { 0.5 0.45 } scale = { 0.7 0.7 }  } 
	}
	
	colored_emblem = {
		texture = "ce_armillary_sphere.dds"
		color1 = "yellow"
		color2 = "white"
		instance = { position = { 0.5 0.53 } scale = { 0.4 0.4 }  } 
	}
	
	colored_emblem = {
		texture = "ce_hammer_sickle_italy.dds"
		color1 = "red"
		color2 = "white"
		instance = { position = { 0.5 0.53 } scale = { 0.3 0.3 }  } 
	}
	
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow"
		color2 = "blue"
		color3 = "red"
		instance = { position = { 0.5 0.5 }scale = { 0.8 0.8 } } 
	}
	
	colored_emblem = {
		texture = "ce_star_05_hollow.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { position = { 0.5 0.25 } scale = { 0.45 0.4 }  } 
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "red"
		color2 = "yellow"
		color3 = "purple"
		instance = { position = { 0.5 0.5 }scale = { 0.8 0.8 } } 
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_flags_bicolour.dds"
		color1 = "green"
		color2 = "red"
		instance = { position = { 0.5 0.5 }scale = { 0.8 0.8 } } 
		mask = { 1 }
	}
	
	sub = {
        parent = "Portugal_WB_communist_portrait" 
    }
}

IBE_dictatorship_POR = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"

	colored_emblem = {
		texture = "ce_per_saltire_counterchanged.dds"
		color1 = "blue"
		color2 = "yellow"
	}
	
	colored_emblem = {
		texture = "ce_cross_burgundy.dds"
		color1 = color2
		color2 = color2
	}
	
	textured_emblem = {
		texture = "wb_por_fasch.dds"
		instance = { scale = { 1.65 1.65 } position = { 0.6 0.65 } rotation = -5 }
	}
}

IBE_anarchist_POR = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "purple"
	
	colored_emblem = {
		texture = "ce_anb_globe_grid.dds"
		color1 = color1
		color2 = color2
		instance = { scale = { 0.8 0.8 } } 
	}
	
	sub = {
        parent = "Portugal_WB_communist_portrait" 
    }
}


## Italy ##

Italy_WB_portrait = {
	textured_emblem = {
		texture = "wb_ita_monarch.dds"
		instance = { scale = { 1.68 1.68 } position = { 0.515 0.615 } }
	}
}

Italy_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_ita_monarch.dds"
		instance = { scale = { 1.68 1.68 } position = { 0.7 0.615 } }
	}
}

Italy_WB_republican_portrait = {
	textured_emblem = {
		texture = "wb_ita_repub.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.46 0.605 } }
	}
}

Italy_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_ita_comm.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.58 0.635 } }
	}
}

Italy_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_ita_fasch.dds"
		instance = { scale = { 1.75 1.75 } position = { 0.57 0.79 } }
	}
}

ITA = { # Italy
	# Until 1946
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	textured_emblem = {
		texture = "te_coa_italia.dds"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.62 } }
	}	
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.55 0.55 } position = { 0.5 0.25 } }
	}	
	
	sub = {
        parent = "Italy_WB_portrait" 
    }
}
ITA_republic = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}		
	
	sub = {
        parent = "Italy_WB_republican_portrait" 
    }
}
ITA_dictatorship = {
	# Flag of Napoleonic kingdom
	
	pattern = "pattern_rhombus.dds"
	color1 = "red"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "green"
		color2 = "blue"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }		
	}		
	colored_emblem = {
		texture = "ce_eagle_napoleonian.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "green"
		instance = { scale = { 0.55 0.55 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Italy_WB_fascist_portrait" 
    }
}
ITA_communist = {
	pattern = "pattern_border_double.dds"
	color1 = "red"
	color2 = "white"
	color3 = "green"

	colored_emblem = {
		texture = "ce_hammer_sickle_italy.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.4 0.4 } position = { 0.20 0.30 } } 
	}	
	
	sub = {
        parent = "Italy_WB_communist_portrait" 
    }
}
ITA_fascist = {	
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
    sub = {
        parent = "sub_ITA_eagle" 
        instance = { scale = { 1.0 1.0 } }
    }		
	
	sub = {
        parent = "Italy_WB_fascist_portrait" 
    }
}

# WB originals

ITA_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_shield_accolade.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.67 0.68 } position = { 0.5 0.49 } }
	}
	textured_emblem = {
		texture = "te_coa_papal_states_tiara.dds"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.52 } }
	}	
	
	sub = {
        parent = "Pope_WB_portrait" 
    }
}

ITA_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "black"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }				
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.5 } }				
	}	
	
	sub = {
        parent = "Italy_WB_communist_portrait" 
    }
}

# From vanilla's patch 1.1

ITA_sicilian = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	textured_emblem = {
		texture = "te_necklace_two_sicilies.dds"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.50 } }
	}	
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.375 0.375 } position = { 0.5 0.30 } }
	}	
	textured_emblem = {
		texture = "te_coa_two_sicilies.dds"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.50 } }
	}		

	sub = {
        parent = "Two_Sicilies_WB_Italy_portrait" 
    }	
}

ITA_papal = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	textured_emblem = {
		texture = "te_coa_papal_states_tiara.dds"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.49 } }
	}	

	sub = {
        parent = "Pope_WB_portrait" 
    }	
}


## Various Italian unifier alts

# Two Sicilies Italy

Two_Sicilies_WB_Italy_portrait = {
	textured_emblem = {
		texture = "wb_sic_Italy.dds"
		instance = { scale = { 1.27 1.27 } position = { 0.5 0.56 } }
	}
}

ITA_SIC = {

	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	textured_emblem = {
		texture = "te_necklace_two_sicilies.dds"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.50 } }
	}	
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.36 0.36 } position = { 0.5 0.28 } }
	}	
	textured_emblem = {
		texture = "te_coa_two_sicilies.dds"
		instance = { scale = { 0.55 0.55 } position = { 0.5 0.50 } }
	}	
	
	sub = {
        parent = "Two_Sicilies_WB_Italy_portrait" 
    }
}

ITA_SIC_republic = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}		
	
	sub = {
        parent = "Two_Sicilies_WB_Italy_portrait" 
    }
}
ITA_SIC_dictatorship = {
	
	pattern = "pattern_rhombus.dds"
	color1 = "red"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "green"
		color2 = "blue"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }		
	}		
	colored_emblem = {
		texture = "ce_eagle_napoleonian.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "green"
		instance = { scale = { 0.55 0.55 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Two_Sicilies_WB_fascist_portrait" 
    }
}
ITA_SIC_communist = {
	pattern = "pattern_border_double.dds"
	color1 = "red"
	color2 = "white"
	color3 = "green"

	colored_emblem = {
		texture = "ce_hammer_sickle_italy.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.4 0.4 } position = { 0.20 0.30 } } 
	}	
	
	sub = {
        parent = "Two_Sicilies_WB_communist_portrait" 
    }
}
ITA_SIC_fascist = {		
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
    sub = {
        parent = "sub_ITA_eagle" 
        instance = { scale = { 1.0 1.0 } }
    }		
	
	sub = {
        parent = "Two_Sicilies_WB_fascist_portrait" 
    }
}

ITA_SIC_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "black"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }				
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.5 } }				
	}	
	
	sub = {
        parent = "Two_Sicilies_WB_communist_portrait" 
    }
}

# Papal States Italy

Pope_WB_Italy_portrait = {
	textured_emblem = {
		texture = "wb_pap_Italy.dds"
		instance = { scale = { 1.55 1.55 } position = { 0.515 0.585 } }
	}
}

ITA_PAP = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_shield_accolade.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.67 0.68 } position = { 0.5 0.49 } }
	}
	textured_emblem = {
		texture = "te_coa_papal_states_tiara.dds"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.52 } }
	}	
	
	sub = {
        parent = "Pope_WB_Italy_portrait" 
    }
}

ITA_PAP_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_crown_ducal.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "red"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.25 } }
	}
	
	colored_emblem = {
		texture = "ce_shield_accolade_modena.dds"
		color1 = "red"
		color2 = "yellow"
		color3 = "red"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.55 } }
	}
	
	sub = {
        parent = "Pope_WB_Italy_portrait" 
    }
}

ITA_PAP_dictatorship = {
	
	pattern = "pattern_rhombus.dds"
	color1 = "red"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "green"
		color2 = "blue"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }		
	}		
	colored_emblem = {
		texture = "ce_eagle_napoleonian.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "green"
		instance = { scale = { 0.55 0.55 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Pope_WB_fascist_portrait" 
    }
}
ITA_PAP_communist = {
	pattern = "pattern_border_double.dds"
	color1 = "red"
	color2 = "white"
	color3 = "green"

	colored_emblem = {
		texture = "ce_hammer_sickle_italy.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.4 0.4 } position = { 0.20 0.30 } } 
	}	
	
	sub = {
        parent = "Pope_WB_communist_portrait" 
    }
}
ITA_PAP_fascist = {		
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
    sub = {
        parent = "sub_ITA_eagle" 
        instance = { scale = { 1.0 1.0 } }
    }		
	
	sub = {
        parent = "Pope_WB_fascist_portrait" 
    }
}

# Tuscany Italy

Florence_WB_Italy_portrait = {
	textured_emblem = {
		texture = "wb_tus_Italy.dds"
		instance = { scale = { 1.11 1.11 } position = { 0.57 0.545 } }
	}
}

Florence_WB_civil_Italy_portrait = {
	textured_emblem = {
		texture = "wb_tus_civil_Italy.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.51 0.61 } }
	}
}

Florence_WB_civil_alt_Italy_portrait = {
	textured_emblem = {
		texture = "wb_tus_civil_alt_Italy.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.51 0.61 } }
	}
}

Florence_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_tus_fascist.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.51 0.61 } }
	}
}

ITA_TUS = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	textured_emblem = {
		texture = "wb_tus_1848_coa.png"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }
	}		
	
	sub = {
        parent = "Florence_WB_Italy_portrait" 
    }
}

ITA_TUS_republic = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}		
	
	colored_emblem = {
		texture = "wb_ce_florence_fleur.png"
		color1 = "red"
		color2 = "blue_light"
		instance = { scale = { 0.55 0.55 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Florence_WB_Italy_portrait" 
    }
}

ITA_TUS_dictatorship = {
	# Flag of Napoleonic kingdom
	
	pattern = "pattern_rhombus.dds"
	color1 = "red"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "green"
		color2 = "blue"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }		
	}		
	colored_emblem = {
		texture = "ce_eagle_napoleonian.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "green"
		instance = { scale = { 0.55 0.55 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Florence_WB_fascist_portrait" 
    }
}
ITA_TUS_communist = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_border_orle.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 1.0 0.85 } position = { 0.5 0.43 } }
	}
	
	colored_emblem = {
		texture = "ce_frame_ddr_sun_bg.dds"
		color1 = "red"
		color2 = "white"
		instance = { scale = { 0.7 -0.8 } position = { 0.5 0.43 } }
	}
	
	colored_emblem = {
		texture = "ce_hammer_sickle_italy.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.42 } }
	}

	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.43 } }
	}
	colored_emblem = {
		texture = "ce_frame_ddr_flags_tricolour.dds"
		color1 = "green"
		color2 = "white"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.43 } }
	}	
	
	sub = {
        parent = "Florence_WB_civil_alt_Italy_portrait" 
    }
}
ITA_TUS_fascist = {		
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
    sub = {
        parent = "sub_ITA_eagle" 
        instance = { scale = { 1.0 1.0 } }
    }		
	
	sub = {
        parent = "Florence_WB_fascist_portrait" 
    }
}

ITA_TUS_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	colored_emblem = {
		texture = "wb_ce_maltese_cross.png"
		color1 = "red"
		color2 = "blue_light"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }
	}	
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "red"
		color2 = "blue_light"
		instance = { scale = { 0.1 0.1 } position = { 0.4 0.65 } }
		instance = { scale = { 0.1 0.1 } position = { 0.6 0.65 } }
		instance = { scale = { 0.1 0.1 } position = { 0.4 0.35 } }
		instance = { scale = { 0.1 0.1 } position = { 0.6 0.35 } }
		instance = { scale = { 0.1 0.1 } position = { 0.5 0.78 } }
	}
	
	colored_emblem = {
		texture = "ce_sacred_heart.dds"
		color1 = "red"
		color2 = "red_faint"
		color3 = "yellow"
		instance = { scale = { 0.25 0.25 } position = { 0.505 0.2 } }
	}	
	
	sub = {
        parent = "Florence_WB_theocratic_portrait" 
    }
}

ITA_TUS_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "black"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }				
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.5 } }				
	}	
	
	sub = {
        parent = "Florence_WB_civil_alt_Italy_portrait" 
    }
}

ITA_TUS_France = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}	
	
	colored_emblem = {
		texture = "ce_bend_dexter.dds"
		color1 = "red"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "wb_ce_bee.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "yellow"
		instance = { scale = { 0.3 0.3 } position = { 0.5 0.5 } rotation = -45 }	
		instance = { scale = { 0.3 0.3 } position = { 0.2 0.2 } rotation = -45 }
		instance = { scale = { 0.3 0.3 } position = { 0.8 0.8 } rotation = -45 }
	}
	
	sub = {
        parent = "Florence_WB_Italy_portrait" 
    }
}

ITA_TUS_France_alt = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 86 172 }

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}	
	
	textured_emblem = {
		texture = "wb_etruria_coa.png"
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Florence_WB_Italy_portrait" 
    }
}

# Modena Italy

Modena_WB_Italy_portrait = {
	textured_emblem = {
		texture = "wb_mod_Italy.dds"
		instance = { scale = { 1.38 1.38 } position = { 0.545 0.46 } }
	}
}

ITA_MOD = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.27 } }
	}	
    sub = {
        parent = "sub_MOD_coa" 
        instance = { scale = { @[third*2] @[third*2] } offset = { @[third/2] 0.20 } }
    }	
	
	sub = {
        parent = "Modena_WB_Italy_portrait" 
    }
}

ITA_MOD_republic = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}	
	
	sub = {
        parent = "Modena_WB_Italy_portrait" 
    }
}

ITA_MOD_dictatorship = {
	# Flag of Napoleonic kingdom
	
	pattern = "pattern_rhombus.dds"
	color1 = "red"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "green"
		color2 = "blue"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }		
	}		
	colored_emblem = {
		texture = "ce_eagle_napoleonian.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "green"
		instance = { scale = { 0.55 0.55 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Modena_WB_autocratic_alt_portrait" 
    }
}
ITA_MOD_communist = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_border_orle.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 1.0 0.85 } position = { 0.5 0.43 } }
	}
	
	colored_emblem = {
		texture = "ce_hammer_sickle_italy.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.5 0.5 } position = { 0.21 0.28 } }
	}
	
	
	sub = {
        parent = "Modena_WB_civil_alt_portrait" 
    }
}
ITA_MOD_fascist = {		
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
    sub = {
        parent = "sub_ITA_eagle" 
        instance = { scale = { 1.0 1.0 } }
    }		
	
	sub = {
        parent = "Modena_WB_autocratic_alt_portrait" 
    }
}

ITA_MOD_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "black"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }				
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.5 } }				
	}	
	
	sub = {
        parent = "Modena_WB_civil_alt_portrait" 
    }
}

ITA_MOD_Austria = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.27 } }
	}	
    sub = {
        parent = "sub_MOD_coa" 
        instance = { scale = { @[third*2] @[third*2] } offset = { @[third/2] 0.20 } }
    }	
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { position = { 0.125 0.125 } scale = { 0.250 0.250 } }		
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { position = { 0.125 0.124 } scale = { 0.250 0.09 } }		
	}
	
	sub = {
        parent = "Modena_WB_Italy_portrait" 
    }
}

# Lucca Italy

Lucca_WB_Italy_portrait = {
	textured_emblem = {
		texture = "wb_luc_italy.dds"
		instance = { scale = { 1.28 1.28 } position = { 0.55 0.565 } }
	}
}

ITA_LUC = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.45 0.46 } position = { 0.5 0.27 } }	
	}	
	textured_emblem = {
		texture = "te_coa_lucca.dds"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.58 } }	
	}	
	
	sub = {
        parent = "Lucca_WB_Italy_portrait" 
    }
}

LUC_Italy_risorgimento = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}		
	
	colored_emblem = {
		texture = "wb_ce_italia_libera.dds"
		color1 = "green"
		instance = { position = { 0.5 0.5 } scale = { 0.54 0.54 } }		
	}
	
	sub = {
        parent = "Lucca_WB_Italy_portrait" 
    }
}

ITA_LUC_dictatorship = {
	# Flag of Napoleonic kingdom
	
	pattern = "pattern_rhombus.dds"
	color1 = "red"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "green"
		color2 = "blue"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }		
	}		
	colored_emblem = {
		texture = "ce_eagle_napoleonian.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "green"
		instance = { scale = { 0.55 0.55 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Lucca_WB_autocratic_alt_portrait" 
    }
}
ITA_LUC_communist = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_border_orle.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 1.0 0.85 } position = { 0.5 0.43 } }
	}
	
	colored_emblem = {
		texture = "ce_hammer_sickle_italy.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.5 0.5 } position = { 0.21 0.28 } }
	}		
	
	sub = {
        parent = "Lucca_WB_civil_alt_portrait" 
    }
}
ITA_LUC_fascist = {		
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
    sub = {
        parent = "sub_ITA_eagle" 
        instance = { scale = { 1.0 1.0 } }
    }		
	
	sub = {
        parent = "Lucca_WB_autocratic_alt_portrait" 
    }
}

ITA_LUC_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	colored_emblem = {
		texture = "wb_ce_st_peter.dds"
		color1 = "peach"
		color2 = "yellow"
		color3 = "light_blue"
		instance = { position = { 0.545 0.5 } scale = { 0.8 0.8 } }		
	}	
	
	sub = {
        parent = "Lucca_WB_Italy_portrait" 
    }
}

ITA_LUC_Austria = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.45 0.46 } position = { 0.5 0.27 } }	
	}	
	textured_emblem = {
		texture = "te_coa_lucca.dds"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.58 } }	
	}	
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { position = { 0.125 0.125 } scale = { 0.250 0.250 } }		
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { position = { 0.125 0.187 } scale = { 0.250 0.125 } }		
	}
	
	sub = {
        parent = "Lucca_WB_Italy_portrait" 
    }
}

# Parma Italy

Parma_WB_Italy_portrait = {
	textured_emblem = {
		texture = "wb_par_Italy.dds"
		instance = { scale = { 1.33 1.33 } position = { 0.5 0.645 } }
	}
}

ITA_PAR = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}	
	sub = {
        parent = "sub_PAR_coa" 
		instance = { scale = { 0.85 0.85 } offset = { 0.075 0.075 } }
    }	
	
	sub = {
        parent = "Parma_WB_Italy_portrait" 
    }
}

ITA_PAR_republic = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}		
	
	sub = {
        parent = "Parma_WB_Italy_portrait" 
    }
}

ITA_PAR_dictatorship = {
	# Flag of Napoleonic kingdom
	
	pattern = "pattern_rhombus.dds"
	color1 = "red"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "green"
		color2 = "blue"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }		
	}		
	colored_emblem = {
		texture = "ce_eagle_napoleonian.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "green"
		instance = { scale = { 0.55 0.55 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Parma_WB_autocratic_alt_portrait" 
    }
}
ITA_PAR_communist = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_border_orle.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 1.0 0.85 } position = { 0.5 0.43 } }
	}
	
	colored_emblem = {
		texture = "ce_hammer_sickle_italy.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.42 } }
	}	
	
	sub = {
        parent = "Parma_WB_civil_alt_portrait" 
    }
}
ITA_PAR_fascist = {		
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
    sub = {
        parent = "sub_ITA_eagle" 
        instance = { scale = { 1.0 1.0 } }
    }		
	
	sub = {
        parent = "Parma_WB_autocratic_alt_portrait" 
    }
}

ITA_PAR_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "black"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }				
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.5 } }				
	}	
	
	sub = {
        parent = "Parma_WB_civil_alt_portrait" 
    }
}

ITA_PAR_Austria = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}	
	sub = {
        parent = "sub_PAR_coa" 
		instance = { scale = { 0.85 0.85 } offset = { 0.075 0.075 } }
    }
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { position = { 0.125 0.125 } scale = { 0.250 0.250 } }		
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { position = { 0.125 0.124 } scale = { 0.250 0.09 } }		
	}
	
	sub = {
        parent = "Parma_WB_Italy_portrait" 
    }
}

# Lombardia Italy

Milan_WB_Italy_portrait = {
	textured_emblem = {
		texture = "wb_lom_Italy.dds"
		instance = { scale = { 1.34 1.34 } position = { 0.54 0.615 } }
	}
}

Milan_WB_Italy_communist_portrait = {
	textured_emblem = {
		texture = "wb_lom_Italy_comm.dds"
		instance = { scale = { 1.47 1.47 } position = { 0.54 0.665 } }
	}
}

Milan_WB_Italy_fascist_portrait = {
	textured_emblem = {
		texture = "wb_lom_Italy_fasch.dds"
		instance = { scale = { 1.47 1.47 } position = { 0.54 0.665 } }
	}
}

ITA_LOM = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}	
	
	colored_emblem = {
		texture = "ce_wreath_peru.dds"
		color1 = "green"
		color2 = "red"
		color3 = "yellow"
		instance = { position = { 0.5 0.57 } scale = { 0.6 0.6 } }		
	}
	
	colored_emblem = {
		texture = "ce_ribbon.dds"
		color1 = "green"
		color2 = "red"
		color3 = "yellow"
		instance = { position = { 0.5 0.76 } scale = { 0.3 0.2 } }		
	}
	
	colored_emblem = {
		texture = "wb_ce_accolade_quartered.dds"
		color1 = "white"
		color2 = "grey"
		color3 = "yellow"
		instance = { position = { 0.5 0.5 } scale = { 0.5 0.55 } }		
	}
	
	colored_emblem = {
		texture = "ce_eagle_crown.dds"
		color1 = "black"
		color2 = "yellow"
		color3 = "white"
		instance = { scale = { 0.15 0.15 } position = { 0.455 0.41 } }	
		instance = { scale = { 0.15 0.15 } position = { 0.55 0.58 } }
	}
	
	colored_emblem = {
		texture = "wb_ce_visconti_biscione.dds"
		color1 = "blue_light"
		color2 = "red"
		color3 = "white"
		instance = { scale = { 0.15 0.15 } position = { 0.455 0.59 } }	
		instance = { scale = { 0.15 0.15 } position = { 0.55 0.42 } }
	}
	
	colored_emblem = {
		texture = "ce_crown_ducal.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "red"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.2 } }
	}
	
	sub = {
        parent = "Milan_WB_Italy_portrait" 
    }
}

ITA_LOM_republic = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}		
	
	colored_emblem = {
		texture = "wb_ce_vincere_morire.png"
		color1 = "black"
		instance = { position = { 0.5 0.5 } scale = { 1.0 1.0 } }		
	}
	
	colored_emblem = {
		texture = "wb_ce_makhnovshchina_skull.dds"
		color1 = "black"
		instance = { position = { 0.5 0.2 } scale = { 0.35 0.35 } }		
	}
	
	sub = {
        parent = "Milan_WB_Italy_portrait" 
    }
}

ITA_LOM_dictatorship = {
	# Flag of Napoleonic kingdom
	
	pattern = "pattern_rhombus.dds"
	color1 = "red"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "green"
		color2 = "blue"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }		
	}		
	colored_emblem = {
		texture = "ce_eagle_napoleonian.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "green"
		instance = { scale = { 0.55 0.55 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Milan_WB_Italy_fascist_portrait" 
    }
}
ITA_LOM_communist = {
	pattern = "pattern_border_double.dds"
	color1 = "red"
	color2 = "white"
	color3 = "green"

	colored_emblem = {
		texture = "ce_hammer_sickle_italy.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.4 0.4 } position = { 0.20 0.30 } } 
	}	
	
	sub = {
        parent = "Milan_WB_Italy_communist_portrait" 
    }
}
ITA_LOM_fascist = {		
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
    sub = {
        parent = "sub_ITA_eagle" 
        instance = { scale = { 1.0 1.0 } }
    }		
	
	sub = {
        parent = "Milan_WB_Italy_fascist_portrait" 
    }
}

ITA_LOM_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "black"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }				
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.5 } }				
	}	
	
	sub = {
        parent = "Milan_WB_Italy_communist_portrait" 
    }
}

ITA_LOM_Austria = {
	pattern = "pattern_solid.tga"
	color1 = "green"
	
	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	
	textured_emblem = {
		texture = "wb_ita_lombardy_CoA.png"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Milan_WB_Italy_portrait" 
    }
}


# Venice Italy

Venice_WB_Italy_portrait = {
	textured_emblem = {
		texture = "wb_ven_Italy.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.615 0.5 } }
	}
}

Venice_WB_Italy_communist_portrait = {
	textured_emblem = {
		texture = "wb_ven_Italy_comm.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.615 0.5 } }
	}
}

Venice_WB_Italy_fascist_portrait = {
	textured_emblem = {
		texture = "wb_ven_Italy_fasch.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.615 0.5 } }
	}
}

ITA_VEN = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "wb_ce_6_stripes_with_gaps.dds"
		color1 = "red"
		color2 = "black"
		color3 = "highlight"
		instance = { position = { 0.5 0.5 } scale = { 1.0 1.0 } }
	}
	
	colored_emblem = {
		texture = "wb_ce_venetian_banner.dds"
		color1 = "red"
		color2 = "yellow"
		color3 = "red"
	}
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "green"
		color2 = "red"
		instance = { position = { 0.215 0.5 } scale = { 0.3 0.73 } }
	}
	
	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
		instance = { position = { 0.28 0.5 } scale = { 0.43 0.73 } }
	}	
	textured_emblem = {
		texture = "wb_ita_venice_CoA.png"
		instance = { scale = { 0.6 0.6 } position = { 0.28 0.52 } }
	}
	
	sub = {
        parent = "Venice_WB_Italy_portrait" 
    }
}

ITA_VEN_v1 = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}	
	textured_emblem = {
		texture = "wb_ita_venice_CoA.png"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.53 } }
	}
	
	sub = {
        parent = "Venice_WB_Italy_portrait" 
    }
}

ITA_VEN_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "wb_ce_6_stripes_with_gaps.dds"
		color1 = "red"
		color2 = "black"
		color3 = "highlight"
		instance = { position = { 0.5 0.5 } scale = { 1.0 1.0 } }
	}
	
	colored_emblem = {
		texture = "wb_ce_venetian_banner.dds"
		color1 = "purple"
		color2 = "yellow"
		color3 = "red"
	}
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "green"
		color2 = "red"
		instance = { position = { 0.215 0.5 } scale = { 0.3 0.73 } }
	}
	
	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
		instance = { position = { 0.28 0.5 } scale = { 0.43 0.73 } }
	}	
	textured_emblem = {
		texture = "wb_ita_venice_CoA.png"
		instance = { scale = { 0.6 0.6 } position = { 0.28 0.52 } }
	}
	
	sub = {
        parent = "Venice_WB_Italy_portrait" 
    }
}

ITA_VEN_republic = {
	pattern = "pattern_solid.tga"
	color1 = "green"
	
	colored_emblem = {
		texture = "wb_ce_6_stripes_with_gaps.dds"
		color1 = "red"
		color2 = "black"
		color3 = "highlight"
		instance = { position = { 0.5 0.5 } scale = { 1.0 1.0 } }
	}
	
	colored_emblem = {
		texture = "wb_ce_venetian_banner.dds"
		color1 = "red"
		color2 = "yellow"
		color3 = "red"
	}
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "green"
		color2 = "red"
		instance = { position = { 0.215 0.5 } scale = { 0.3 0.73 } }
	}
	
	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
		instance = { position = { 0.28 0.5 } scale = { 0.43 0.73 } }
	}	
	textured_emblem = {
		texture = "wb_ita_civil_ensign.png"
		instance = { scale = { 0.33 0.33 } position = { 0.28 0.52 } }
	}
	
	sub = {
        parent = "Venice_WB_Italy_portrait" 
    }
}

ITA_VEN_republic_v1 = {
	pattern = "pattern_solid.tga"
	color1 = "green"
	
	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}	
	textured_emblem = {
		texture = "wb_ita_civil_ensign.png"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Venice_WB_Italy_portrait" 
    }
}

ITA_VEN_dictatorship = {
	# Flag of Napoleonic kingdom
	
	pattern = "pattern_rhombus.dds"
	color1 = "red"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "green"
		color2 = "blue"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }		
	}		
	colored_emblem = {
		texture = "ce_eagle_napoleonian.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "green"
		instance = { scale = { 0.55 0.55 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Venice_WB_Italy_fascist_portrait" 
    }
}
ITA_VEN_communist = {
	pattern = "pattern_border_double.dds"
	color1 = "red"
	color2 = "white"
	color3 = "green"

	colored_emblem = {
		texture = "ce_hammer_sickle_italy.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.4 0.4 } position = { 0.20 0.30 } } 
	}	
	
	sub = {
        parent = "Venice_WB_Italy_communist_portrait" 
    }
}
ITA_VEN_fascist = {		
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
    sub = {
        parent = "sub_ITA_eagle" 
        instance = { scale = { 1.0 1.0 } }
    }		
	
	sub = {
        parent = "Venice_WB_Italy_fascist_portrait" 
    }
}

ITA_VEN_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "black"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }				
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.5 } }				
	}	
	
	sub = {
        parent = "Venice_WB_Italy_communist_portrait" 
    }
}

ITA_VEN_Austria = {
	pattern = "pattern_solid.tga"
	color1 = "green"
	
	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { position = { 0.125 0.125 } scale = { 0.250 0.250 } }		
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { position = { 0.125 0.124 } scale = { 0.250 0.09 } }		
	}
	
	textured_emblem = {
		texture = "wb_ven_venetian_province_coa.png"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.45 } }
	}
	
	sub = {
        parent = "Venice_WB_Italy_portrait" 
    }
}

# Trieste Italy

Trieste_WB_Italy_portrait = {
	textured_emblem = {
		texture = "wb_tre_Italy.dds"
		instance = { scale = { 1.5 1.5 } position = { 0.415 0.475 } }
	}
}

Trieste_WB_Italy_communist_portrait = {
	textured_emblem = {
		texture = "wb_tre_Italy_comm.dds"
		instance = { scale = { 1.5 1.5 } position = { 0.415 0.475 } }
	}
}

Trieste_WB_Italy_fascist_portrait = {
	textured_emblem = {
		texture = "wb_tre_Italy_fasch.dds"
		instance = { scale = { 1.5 1.5 } position = { 0.415 0.475 } }
	}
}

Trieste_WB_Italy_theocratic_portrait = {
	textured_emblem = {
		texture = "wb_tre_Italy_theocratic.dds"
		instance = { scale = { 1.5 1.5 } position = { 0.415 0.475 } }
	}
}

ITA_TRE = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_crown_ducal.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.25 } }
	}
	colored_emblem = {
		texture = "ce_shield_heater.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.55 } }
	}
	colored_emblem = {
		texture = "ce_corseca_trieste.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.55 } }
	}	
	
	sub = {
        parent = "Trieste_WB_Italy_portrait" 
    }
}

ITA_TRE_republic = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}		
	
	sub = {
        parent = "Trieste_WB_Italy_portrait" 
    }
}

ITA_TRE_dictatorship = {
	# Flag of Napoleonic kingdom
	
	pattern = "pattern_rhombus.dds"
	color1 = "red"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "green"
		color2 = "blue"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }		
	}		
	colored_emblem = {
		texture = "ce_eagle_napoleonian.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "green"
		instance = { scale = { 0.55 0.55 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Trieste_WB_Italy_fascist_portrait" 
    }
}
ITA_TRE_communist = {
	pattern = "pattern_border_double.dds"
	color1 = "white"
	color2 = "red"
	color3 = "green"
	
	colored_emblem = {
		texture = "ce_laurel_knot.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.65 0.3 } position = { 0.25 0.4 } }
	}
	
	colored_emblem = {
		texture = "ce_star_05_pinwheeled.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.3 0.3 } position = { 0.25 0.3 } }
	}
	
	colored_emblem = {
		texture = "ce_coa_australia.dds"
		color1 = "red"
		color2 = "red"
		color3 = "red"
		instance = { scale = { 0.4 0.4 } position = { 0.25 0.55 } }
	}		
	
	colored_emblem = {
		texture = "ce_corseca_trieste.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.35 0.35 } position = { 0.25 0.55 } }
	}	
	
	sub = {
        parent = "Trieste_WB_Italy_communist_portrait" 
    }
}
ITA_TRE_fascist = {		
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
    sub = {
        parent = "sub_ITA_eagle" 
        instance = { scale = { 1.0 1.0 } }
    }		
	
	sub = {
        parent = "Trieste_WB_Italy_fascist_portrait" 
    }
}

ITA_TRE_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_shield_heater.dds"
		color1 = rgb { 4 62 143 }
		color2 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.83 0.25 } }
	}
	
	colored_emblem = {
		texture = "ce_eagle.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "red"
		instance = { scale = { 0.35 0.35 } position = { 0.83 0.25 } }
	}		
	
	colored_emblem = {
		texture = "wb_ce_kleestengel.dds"
		color1 = "red"
		instance = { scale = { 0.35 0.35 } position = { 0.83 0.26 } }
	}	
	
	colored_emblem = {
		texture = "ce_shield_accolade.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.67 0.68 } position = { 0.5 0.49 } }
	}
	textured_emblem = {
		texture = "te_coa_papal_states_tiara.dds"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.52 } }
	}
	
	sub = {
        parent = "Trieste_WB_Italy_theocratic_portrait" 
    }
}

ITA_TRE_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "black"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }				
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.5 } }				
	}	
	
	sub = {
        parent = "Trieste_WB_Italy_communist_portrait" 
    }
}

ITA_TRE_south_slavs_monarchy = {		
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_bicolor_left.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.5 1.0 } position = { 0.5 0.5 } }				
	}
	
	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "blue"
		instance = { scale = { 0.5 1.0 } position = { 0.5 0.5 } }				
	}	
	
	colored_emblem = {
		texture = "ce_crown_ducal.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "red"
		instance = { scale = { 0.35 0.3 } position = { 0.13 0.05 } }
	}
	colored_emblem = {
		texture = "ce_shield_heater.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.35 0.3 } position = { 0.13 0.18 } }
	}
	colored_emblem = {
		texture = "ce_corseca_trieste.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.35 0.28 } position = { 0.13 0.18 } }
	}
	
	colored_emblem = {
		texture = "ce_crown_ducal.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "red"
		instance = { scale = { 0.35 0.3 } position = { 0.88 0.05 } }
	}
	colored_emblem = {
		texture = "ce_shield_heater.dds"
		color1 = "blue"
		color2 = "red"
		instance = { scale = { 0.35 0.3 } position = { 0.88 0.18 } }
	}
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 0.08 0.08 } position = { 0.88 0.13 } }
		instance = { scale = { 0.08 0.08 } position = { 0.84 0.15 } }
		instance = { scale = { 0.08 0.08 } position = { 0.92 0.15 } }
	}
	
	colored_emblem = {
		texture = "ce_crescent_pale.dds"
		color1 = "white"
		color2 = "red"
		instance = { scale = { 0.17 0.15 } position = { 0.88 0.22 } }
	}
	
	sub = {
        parent = "Trieste_WB_Italy_portrait" 
    }
}

ITA_TRE_south_slavs_republic = {		
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_bicolor_left.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.5 1.0 } position = { 0.5 0.5 } }				
	}
	
	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "blue"
		instance = { scale = { 0.5 1.0 } position = { 0.5 0.5 } }				
	}
	
	sub = {
        parent = "Trieste_WB_Italy_portrait" 
    }
}

ITA_TRE_Austria_subject = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_crown_ducal.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.23 } }
	}
	textured_emblem = {
		texture = "wb_tre_austrian_littoral_coa.png"
		instance = { scale = { 0.55 0.55 } position = { 0.5 0.57 } }
	}	
	
	sub = {
        parent = "Trieste_WB_Italy_portrait" 
    }
}

# WU Sicily Italy

ITA_WU_Sicily = {
	pattern = "pattern_per_bend.dds"
	color1 = "green"
	color2 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	
	
	colored_emblem = {
		texture = "ce_triskelion_sicily.dds"
		color1 = "peach" # or plain gold
		color2 = "yellow"
		instance = { scale = { 0.55 0.55 } position = { 0.5 0.5 } }		
	}
		
	
	sub = {
        parent = "Two_Sicilies_WB_WU_Sicily" 
    }
}
ITA_WU_Sicily_republic = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}		
	
	sub = {
        parent = "Two_Sicilies_WB_WU_Sicily" 
    }
}
ITA_WU_Sicily_dictatorship = {
	
	pattern = "pattern_rhombus.dds"
	color1 = "red"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "green"
		color2 = "blue"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }		
	}		
	colored_emblem = {
		texture = "ce_eagle_napoleonian.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "green"
		instance = { scale = { 0.55 0.55 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Two_Sicilies_WB_WU_Sicily" 
    }
}
ITA_WU_Sicily_communist = {
	pattern = "pattern_border_double.dds"
	color1 = "red"
	color2 = "white"
	color3 = "green"

	colored_emblem = {
		texture = "ce_hammer_sickle_italy.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.4 0.4 } position = { 0.20 0.30 } } 
	}	
	
	sub = {
        parent = "Two_Sicilies_WB_WU_Sicily" 
    }
}
ITA_WU_Sicily_fascist = {		
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
    sub = {
        parent = "sub_ITA_eagle" 
        instance = { scale = { 1.0 1.0 } }
    }		
	
	textured_emblem = {
		texture = "wb_sic_comm_Sicily.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.57 0.555 } }
	}
}

ITA_WU_Sicily_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "black"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }				
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.5 } }				
	}	
	
	textured_emblem = {
		texture = "wb_sic_comm_Sicily.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.57 0.555 } }
	}
}


# WU Naples Italy

ITA_WU_Naples = {
	pattern = "pattern_per_bend.dds"
	color1 = "green"
	color2 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_shield_heater_large_per_fess.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.58 } }
	}
	
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.55 0.55 } position = { 0.5 0.25 } }
	}	
	
	sub = {
        parent = "Two_Sicilies_WB_WU_Naples" 
    }
}
ITA_WU_Naples_republic = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}		
	
	sub = {
        parent = "Two_Sicilies_WB_WU_Naples" 
    }
}
ITA_WU_Naples_dictatorship = {
	
	pattern = "pattern_rhombus.dds"
	color1 = "red"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "green"
		color2 = "blue"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }		
	}		
	colored_emblem = {
		texture = "ce_eagle_napoleonian.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "green"
		instance = { scale = { 0.55 0.55 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Two_Sicilies_WB_WU_Naples" 
    }
}
ITA_WU_Naples_communist = {
	pattern = "pattern_border_double.dds"
	color1 = "red"
	color2 = "white"
	color3 = "green"

	colored_emblem = {
		texture = "ce_hammer_sickle_italy.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.4 0.4 } position = { 0.20 0.30 } } 
	}	
	
	sub = {
        parent = "Two_Sicilies_WB_WU_Naples" 
    }
}
ITA_WU_Naples_fascist = {		
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
    sub = {
        parent = "sub_ITA_eagle" 
        instance = { scale = { 1.0 1.0 } }
    }		
	
	sub = {
        parent = "Two_Sicilies_WB_WU_Naples" 
    }
}

ITA_WU_Naples_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "black"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }				
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.5 } }				
	}	
	
	sub = {
        parent = "Two_Sicilies_WB_WU_Naples" 
    }
}


## Romania ##

Romania_WB_portrait = {
	textured_emblem = {
		texture = "wb_rom_monarch.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.61 0.645 } }
	}
}

Romania_WB_republican_portrait = {
	textured_emblem = {
		texture = "wb_rom_repub.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.47 0.455 } }
	}
}
Romania_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_rom_comm.dds"
		instance = { scale = { 1.43 1.43 } position = { 0.52 0.595 } }
	}
}
Romania_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_rom_fasch.png"
		instance = { scale = { 1.6 1.6 } position = { 0.5 0.655 } }
	}
}

ROM_united_principalities = {	
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "yellow"
		color2 = "blue"
	}
	
	sub = {
        parent = "Wallachia_WB_portrait" 
    }
}

ROM = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	
	sub = {
        parent = "Romania_WB_portrait" 
    }	
}
ROM_fascist = {	
	# Iron guard
	pattern = "pattern_solid.tga"
	color1 = "green"
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_cross_st_michael.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "Romania_WB_fascist_portrait" 
    }
}

# WB originals

ROM_republic = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	
	sub = {
        parent = "Romania_WB_republican_portrait" 
    }	
}

ROM_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	
	textured_emblem = {
		texture = "wb_principality_romania_emblem.png"
		instance = { scale = { 0.58 0.58 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Romania_WB_portrait" 
    }	
}

ROM_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_shield_accolade.dds"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }
		color1 = "green"
		color2 = "green"
	}
	
	colored_emblem = {
		texture = "ce_cross_st_michael.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Romania_WB_fascist_portrait" 
    }	
}

ROM_communist = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	
	textured_emblem = {
		texture = "wb_communist_romania_emblem.png"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Romania_WB_communist_portrait" 
    }	
}

ROM_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "black"
	color2 = "red"
	
	colored_emblem = {
		texture = "wb_ce_rom_eagle.dds"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }	
		color1 = "white"
		color2 = "yellow_dark"	
		color3 = "white"		
	}		

	textured_emblem = {
		texture = "wb_the_romrom.dds"
		instance = { scale = { 0.7 0.7 } position = { 0.75 0.65 } }
	}	
}

ROM_flag_hole_republic = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "wb_ce_hole_in_the_flag.dds"
		instance = { scale = { 0.56 0.56 } position = { 0.5 0.5 } }	
		color1 = "black"
		color2 = "black"	
		color3 = "highlight"		
	}
	
	sub = {
        parent = "Romania_WB_republican_portrait" 
    }	
}

ROM_flag_hole_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "wb_ce_hole_in_the_flag.dds"
		instance = { scale = { 0.56 0.56 } position = { 0.5 0.5 } }	
		color1 = "black"
		color2 = "black"	
		color3 = "highlight"		
	}
	
	sub = {
        parent = "Romania_WB_portrait" 
    }	
}

ROM_flag_hole_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "wb_ce_hole_in_the_flag.dds"
		instance = { scale = { 0.56 0.56 } position = { 0.5 0.5 } }	
		color1 = "black"
		color2 = "black"	
		color3 = "highlight"		
	}
	
	sub = {
        parent = "Romania_WB_fascist_portrait" 
    }	
}

## Moldavia Romania

Moldavia_Romania_WB_portrait = {
	textured_emblem = {
		texture = "wb_mol_rom.dds"
		instance = { scale = { 1.305 1.305 } position = { 0.575 0.52 } }
	}
}

Moldavia_Romania_WB_alt_portrait = {
	textured_emblem = {
		texture = "wb_mol_rom_alt.dds"
		instance = { scale = { 1.305 1.305 } position = { 0.575 0.52 } }
	}
}

ROM_MOL = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	
	sub = {
        parent = "Moldavia_Romania_WB_portrait" 
    }	
}
ROM_MOL_fascist = {	
	# Iron guard
	pattern = "pattern_solid.tga"
	color1 = "green"
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_cross_st_michael.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "Moldavia_Romania_WB_alt_portrait" 
    }
}

ROM_MOL_republic = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	
	textured_emblem = {
		texture = "wb_moldova_coa.png"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Moldavia_WB_civil_portrait" 
    }	
}

MOL_auroch_CoA = {
	colored_emblem = {
		texture = "wb_ce_accolade_bend.dds"
		instance = { scale = { 1.25 1.2 } position = { 0.5 0.5 } }			
		color1 = rgb { 4 62 143 }
		color2 = rgb { 4 62 143 }	
		color3 = rgb { 4 62 143 }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.2 } }			
		color1 = "yellow"
		color2 = "yellow"		
	}	
	colored_emblem = {
		texture = "ce_aurochs_head.dds"
		instance = { scale = { 0.85 0.85 } position = { 0.5 0.52 } }
		color1 = "yellow"
		color2 = "red"
		color3 = "red"
	}	
	colored_emblem = {
		texture = "ce_crescent_rotated.dds"
		instance = { scale = { 0.25 0.25 } position = { 0.69 0.7 } }			
		color1 = "white"
		color2 = "white"		
	}
	colored_emblem = {
		texture = "ce_lotus.dds"
		instance = { scale = { 0.25 0.25 } position = { 0.31 0.7 } }			
		color1 = "white"
		color2 = "white"		
	}
}

ROM_MOL_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.4 0.4 } position = { 0.5 0.25 } }
	}
	
	sub = {
        parent = "MOL_auroch_CoA" 
		instance = { scale = { 0.45 0.45 } offset = { 0.28 0.32 } }
    }
	
	sub = {
        parent = "Moldavia_Romania_WB_portrait" 
    }	
}

ROM_MOL_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_shield_accolade.dds"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }
		color1 = "green"
		color2 = "green"
	}
	
	colored_emblem = {
		texture = "ce_cross_st_michael.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Moldavia_Romania_WB_alt_portrait" 
    }	
}

ROM_MOL_communist = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	
	textured_emblem = {
		texture = "wb_communist_romania_emblem.png"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Moldavia_WB_civil_alt_portrait" 
    }	
}

ROM_MOL_flag_hole_republic = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "wb_ce_hole_in_the_flag.dds"
		instance = { scale = { 0.56 0.56 } position = { 0.5 0.5 } }	
		color1 = "black"
		color2 = "black"	
		color3 = "highlight"		
	}
	
	sub = {
        parent = "Moldavia_WB_civil_alt_portrait" 
    }	
}

ROM_MOL_flag_hole_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "wb_ce_hole_in_the_flag.dds"
		instance = { scale = { 0.56 0.56 } position = { 0.5 0.5 } }	
		color1 = "black"
		color2 = "black"	
		color3 = "highlight"		
	}
	
	sub = {
        parent = "Moldavia_Romania_WB_portrait" 
    }	
}

ROM_MOL_flag_hole_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "wb_ce_hole_in_the_flag.dds"
		instance = { scale = { 0.56 0.56 } position = { 0.5 0.5 } }	
		color1 = "black"
		color2 = "black"	
		color3 = "highlight"		
	}
	
	sub = {
        parent = "Moldavia_WB_autocratic_alt_portrait" 
    }	
}

## Romania and Moldavia together

Romania_romrom_and_molmol_WB_portrait = {

	textured_emblem = {
		texture = "wb_mol_rom.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.72 0.57 } }
	}
	
	textured_emblem = {
		texture = "wb_rom_monarch.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.585 0.635 } }
	}
}

ROM_together = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	
	sub = {
        parent = "Romania_romrom_and_molmol_WB_portrait" 
    }	
}

ROM_together_ROM = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	
	textured_emblem = {
		texture = "wb_principality_romania_emblem.png"
		instance = { scale = { 0.58 0.58 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Romania_romrom_and_molmol_WB_portrait" 
    }	
}

ROM_together_MOL = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "red"
	}
	
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.4 0.4 } position = { 0.5 0.25 } }
	}
	
	sub = {
        parent = "MOL_auroch_CoA" 
		instance = { scale = { 0.45 0.45 } offset = { 0.28 0.32 } }
    }
	
	sub = {
        parent = "Romania_romrom_and_molmol_WB_portrait" 
    }	
}


## Yugoslavia

YUG = { # Yugoslavia
	# 1918-46
	
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}		
}
YUG_communist = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 0.72 0.72 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }
	}
}

# WB originals

YUG_republic = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}		
}

YUG_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_shield_heater_border.dds"
		color1 = "red"
		color2 = "black"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.56 } }
	}
	
	textured_emblem = {
		texture = "wb_yug_coa.png"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.55 } }
	}
	
	textured_emblem = {
		texture = "wb_yug_crown.png"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.19 } }
	}
}

YUG_dictatorship = {
	# Based off the Yugoslav fascist flag in HoI4
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_star_06.dds"
		color1 = "yellow"
		color2 = "black"
		instance = { scale = { 0.33 0.28 } position = { 0.15 0.18 } }
	}
	
	textured_emblem = {
		texture = "wb_yug_coa.png"
		instance = { scale = { 0.85 0.85 } position = { 0.5 0.5 } }
	}
}

YUG_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_cross_patty.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.35 0.35 } position = { 0.12 0.17 } }	
	}	
}

YUG_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 0.72 0.72 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }
	}
}

YUG_fascist_serb = {
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "wb_ce_makhnovshchina_skull.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.48 } }
	}
}

## Serbia Yugoslavia

Serbia_Yugoslavia_WB_portrait = {
	textured_emblem = {
		texture = "wb_ser_monarch.dds"
		instance = { scale = { 1.46 1.46 } position = { 0.54 0.63 } }
	}
}

YUG_SER = { # Yugoslavia
	# 1918-46
	
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}		
	
	sub = {
        parent = "Serbia_Yugoslavia_WB_portrait" 
    }
}
YUG_SER_communist = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 0.72 0.72 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Serbia_WB_communist_portrait" 
    }
}

YUG_SER_republic = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}		
	
	sub = {
        parent = "Serbia_WB_republican_portrait" 
    }
}

YUG_SER_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_shield_heater_border.dds"
		color1 = "red"
		color2 = "black"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.56 } }
	}
	
	textured_emblem = {
		texture = "wb_yug_coa.png"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.55 } }
	}
	
	textured_emblem = {
		texture = "wb_yug_crown.png"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.19 } }
	}
	
	sub = {
        parent = "Serbia_Yugoslavia_WB_portrait" 
    }
}

YUG_SER_dictatorship = {
	# Based off the Yugoslav fascist flag in HoI4
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_star_06.dds"
		color1 = "yellow"
		color2 = "black"
		instance = { scale = { 0.33 0.28 } position = { 0.15 0.18 } }
	}
	
	textured_emblem = {
		texture = "wb_yug_coa.png"
		instance = { scale = { 0.85 0.85 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Serbia_WB_fascist_portrait" 
    }
}

YUG_SER_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_frame_square.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.08 0.65 } position = { 0.5 0.5 } }
		instance = { scale = { 0.65 0.08 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_beta.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { -0.35 0.35 } position = { 0.35 0.3 } }			
		instance = { scale = { 0.35 0.35 } position = { 0.65 0.3 } }		
		instance = { scale = { -0.35 0.35 } position = { 0.35 0.7 } }			
		instance = { scale = { 0.35 0.35 } position = { 0.65 0.7 } }			
	}
	
	sub = {
        parent = "Serbia_Yugoslavia_WB_portrait" 
    }
}

YUG_SER_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 0.72 0.72 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Serbia_WB_communist_portrait" 
    }
}

YUG_SER_fascist_serb = {
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "wb_ce_makhnovshchina_skull.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.48 } }
	}
	
	sub = {
        parent = "Serbia_WB_fascist_portrait" 
    }
}

## Montenegro Yugoslavia

Montenegro_Yugoslavia_WB_portrait = {
	textured_emblem = {
		texture = "wb_mon_autocratic.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.515 0.615 } }
	}
}

Montenegro_Yugoslavia_WB_alt_portrait = {
	textured_emblem = {
		texture = "wb_mon_autocratic_alt.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.515 0.615 } }
	}
}

YUG_MON = { # Yugoslavia
	# 1918-46
	
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}		
	
	sub = {
        parent = "Montenegro_Yugoslavia_WB_portrait" 
    }
}
YUG_MON_communist = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 0.72 0.72 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Montenegro_WB_civil_alt_portrait" 
    }
}

YUG_MON_republic = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}		
	
	sub = {
        parent = "Montenegro_WB_civil_portrait" 
    }
}

YUG_MON_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}
	
	textured_emblem = {
		texture = "wb_mon_coa.png"
		instance = { scale = { 0.95 0.95 } position = { 0.5 0.5 } }	
	}
	
	sub = {
        parent = "Montenegro_Yugoslavia_WB_portrait" 
    }
}

YUG_MON_dictatorship = {
	# Based off the Yugoslav fascist flag in HoI4
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_star_06.dds"
		color1 = "yellow"
		color2 = "black"
		instance = { scale = { 0.33 0.28 } position = { 0.15 0.18 } }
	}
	
	textured_emblem = {
		texture = "wb_yug_coa.png"
		instance = { scale = { 0.85 0.85 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Montenegro_Yugoslavia_WB_alt_portrait" 
    }
}

YUG_MON_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_cross_patty.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.35 0.35 } position = { 0.12 0.17 } }	
	}	
	
	sub = {
        parent = "Montenegro_Yugoslavia_WB_portrait" 
    }
}

YUG_MON_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 0.72 0.72 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Montenegro_WB_civil_alt_portrait" 
    }
}